#include <string>
#pragma once
#include <memory>
#include "resource.h"

using namespace std;
class Person
{
private:
	string firstname;
	string lastname;
	int arbitrarynumber;
	//unique_ptr<Resource> pResource;
	shared_ptr<Resource> pResource;
public:
	Person(string first, string last, int artitrary);
	/*Person (const Person& person);
	Person operator=(const Person& person);*/
	~Person(void);

	string GetName(void);

	void SetNumber(int number) { arbitrarynumber=number;}
	void SetFirstName (string first) {firstname=first;}
	string GetResource () const {return pResource->GetName();}
	void SetResource (string resource) ;

};

